#pragma once

#include <string>
#include <iostream>
#include <GL\glui.h>

using namespace std;

class View
{
private:
	string ID;
	char* toBox;
public:
	View() {}
	void setID(string _ID)
	{
		ID = _ID;
		toBox = (char*) malloc(4*sizeof(char));
	}
	string getID()
	{
		return ID;
	}
	virtual void applyView() {}

	void convertToPointer()
	{
		for(size_t i = 0; i < ID.size(); i++)
		{
			toBox[i] = ID[i];
		}
	}

	char* getPointer()
	{
		return toBox;
	}
};